package com.android.wechat.msg.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.android.common.utils.PageUtils;
import com.android.common.utils.Query;

import com.android.wechat.msg.dao.TMsgListDao;
import com.android.wechat.msg.entity.TMsgListEntity;
import com.android.wechat.msg.service.TMsgListService;


@Service("tMsgListService")
public class TMsgListServiceImpl extends ServiceImpl<TMsgListDao, TMsgListEntity> implements TMsgListService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TMsgListEntity> page = this.page(
                new Query<TMsgListEntity>().getPage(params),
                new QueryWrapper<TMsgListEntity>()
        );

        return new PageUtils(page);
    }

}